package cn.softeem.tushu.Dao;

import cn.softeem.tushu.po.Order;
import cn.softeem.tushu.utils.PageBean;

import java.sql.SQLException;

public interface OrderDao {
    void save (Order order) throws SQLException;
    PageBean<Order> getOrderList (String uid,int pageNow) throws SQLException;
    Order desc(String oid) throws SQLException;
    void cancel(String oid)throws SQLException;

    void confirm(String oid) throws SQLException;
    void pay(String oid) throws SQLException;
}
